<template>
  <div>
    <h2>{{h2title}}</h2>
  </div>
</template>

<script>
export default {
name:"titleh2",
props:["h2title"],
data() {
  return {
    // property: 'value',
  };
},
}
</script>

<style scoped>
div{
  overflow: hidden;
}
   h2 {
        margin: 0 auto;
        text-align: center;
        margin: 30px 0;
    }
</style>